/* miniprogram/pages/servicePage/service.wxss */
@import '../../app.less';
// 用户所在城市
.fixed {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 80rpx;
    padding: 0 30rpx;
    background-color: #fff;
    box-sizing: border-box;
    z-index: 99;
}

.contianer {
    margin-top: 80rpx;
    height: 100%;
    width: 100vw;
    box-sizing: border-box;
    padding: 0 30rpx;
// 焦点图
    .banner {
        

        image {
            width: 100%;
            border-radius: 15rpx;
            overflow: hidden;
        }
    }
    // 价格区域
    .priceBox{
        padding: 30rpx 0;
        display: flex;
        align-items: center;
        color: #f00;
        .symbol{
            font-size: 26rpx;
            margin-right: 6rpx;
        }
        .price{
            font-size: 46rpx;
            margin-right: 26rpx;
            font-weight: bold;
        }
        .oldPrice{
            font-size: 20rpx;
            color: #ccc;
            text-decoration: line-through;
        }
    }
    // 标题区
    .serviceTitleBox{
        .serviceTitle{
            font-size: 30rpx;
        }
        .serviceTip{
            color: #999;
            font-size: 22rpx;
        }
    }
    // 分割线
    .hr{
        height: 1px;
        background-color: #eee;
        margin: 30rpx 0;
    }
    // tab栏
    .tabsBox{
        padding-bottom: 30rpx;
        display: flex;
        justify-content: space-between;
        
    }
    .tabsBoxFixed{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding-bottom: 30rpx;
        display: flex;
        justify-content: space-between;
        z-index: 99;
    }
    .tabsTitle{
        flex: 1;
        text-align: center;
        font-size: 24rpx;
        position: relative;
        &.current{
            font-weight: bold;
            font-size: 26rpx;
        }
        .active{
            position: absolute;
            bottom: -14rpx;
            left: 50%;
            transform: translate(-50%,0);
            width: 40rpx;
            height: 8rpx;
            background-color: @themeColor;
        }
    }
    // 图片区
    .pics{
        width: 100%;
        height: 100vh;
        padding-bottom: 120rpx;
        image{
            width: 100%;
            height: auto;
            // 解决图片间缝隙问题
            display: flex;
        }
    }
    // 底部购买按钮
    .footer{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        box-sizing: border-box;
        display: flex;
        z-index: 999;
        padding: 20rpx 40rpx;
        background-color: #fff;
        .buy{
            flex: 1;
            border-radius: 50rpx;
            background-color: #48cae4;
        }
    }
}